//
//  ViewController.m
//  TabScrollView
//
//  Created by 佐敦网络 on 16/3/19.
//  Copyright © 2016年 liubo. All rights reserved.
//

#import "ViewController.h"
#import "TabScrollView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    TabScrollView *tabScrollView = [[TabScrollView alloc] initWithFrame:CGRectMake(0, 20,ScreenW,ScreenH-20)];
    [tabScrollView addTitle:@"管理" withView:nil];
    [tabScrollView addTitle:@"报名" withView:nil];
    [tabScrollView addTitle:@"ms" withView:nil];
    [tabScrollView addTitle:@"卡死" withView:nil];
    [tabScrollView addTitle:@"怄气" withView:nil];

    [tabScrollView UpdateUI];
    [self.view addSubview:tabScrollView];
}

@end
